package com.zhiyou.dao;

import com.zhiyou.entity.Lessee;
import com.zhiyou.entity.Rent;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.entity.Example;


import java.util.*;

public interface RentMapper extends Mapper<Rent> {
    List<Rent> selectAll2();

    Rent selectOneByRId(Integer rId);

    int update(Rent rent);

    int insertRent(Rent rent);
    List<Lessee> selectByExample3(@Param(value = "like") String like);


    List<Rent> selectByExample4(@Param(value = "list1") List<Integer> list1);

    List<Rent> selectByExample5(String like);
    int deleteByPrimaryKey2(Integer rId);
}